Component({
    properties: {
        list: {
            type: Array,
            value: []
        },
        display_set: {
            type: null
        }
    },
    data: {},
    methods: {
        telCall: function(t) {
            var a = t.currentTarget.dataset.phone;
            wx.makePhoneCall({
                phoneNumber: a
            });
        },
        onCopyWechat: function(t) {
            var a = t.currentTarget.dataset.wechat;
            wx.setClipboardData({
                data: a,
                success: function() {
                    wx.hideToast(), wx.showModal({
                        content: "复制微信号成功",
                        showCancel: !1
                    });
                }
            });
        },
        toUrl: function(t) {
            var a = t.currentTarget.dataset.url;
            wx.redirectTo({
                url: "/" + a,
                fail: function(t) {
                    wx.setClipboardData({
                        data: a,
                        success: function() {
                            wx.hideToast(), wx.showModal({
                                content: "复制成功",
                                showCancel: !1
                            });
                        }
                    });
                }
            });
        },
        onCopyUrl: function(t) {
            var a = t.currentTarget.dataset.url;
            wx.setClipboardData({
                data: a,
                success: function() {
                    wx.hideToast(), wx.showModal({
                        content: "复制成功",
                        showCancel: !1
                    });
                }
            });
        }
    }
});